<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('产品')}:</label>
        <div class="col-xs-12 col-sm-8">
            {if count($product_list) > 0}
            {foreach name="$product_list" item="vo"}
                <a href="javascript:;" class="btn btn-success product" data-id="{$vo['id']}" {if !$is_admin}data-policy="{$vo['policy_id']}"{/if} title="{:__('Add')}" >{$vo['name']}</a>
            {/foreach}
            {/if}
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button id="close-open" type="reset" class="btn btn-primary btn-embossed btn-close">{:__('Close')}</button>
        </div>
    </div>
</form>
